﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StorageBox
{
    public class ApplyElementFactory : ElementFactory, IElementFactory<ApplyElement, ApplyData>
    {
        private Dictionary<int, ApplyElement> _elementLists = new Dictionary<int, ApplyElement>();

        public ApplyElement Create(ApplyData data)
        {
            var element = new ApplyElement(data);
            _elementLists.Add(element.PlaceholderKey, element);
            return element;
        }
    }
}
